//
//  EnterRoomBean.swift
//  Runner
//
//  Created by zzzzzzz on 2020/10/28.
//
import Foundation
/**
 * 功能描述:进入房间
 * 修改时间:
 * 修改描述:
 */
public class EnterRoomBean: BaseReqBean {
    /**
     * 房间ID
     */
    private var roomId:String = "";
    /**
     * 0-非重连，1-断线重连进入
     */
    private var reconnect = 0;

    public func getReconnect()->Int {
        return reconnect;
    }

    public func setReconnect( reconnect:Int) {
        self.reconnect = reconnect;
    }

    public override init() {
        super.init()
        msgId = MsgUtils.getUUID();
    }
    
    required init(from decoder: Decoder) throws {
        fatalError("init(from:) has not been implemented")
    }
    
    public func getRoomId() ->String {
        return roomId;
    }

    public func setRoomId( roomId:String) {
        self.roomId = roomId;
    }

}
